package com.ag.answergames.service.question;


import com.ag.answergames.entity.QuestionEntity;
import com.ag.answergames.vo.QuestionCheckRequestVO;
import com.ag.answergames.vo.QuestionStoreVO;
import com.ag.answergames.vo.QuestionWrongVO;
import com.ag.answergames.vo.common.Result;

public interface QuestionService {
    Result<QuestionEntity> findOnlyOne(QuestionStoreVO questionStoreVO);

    Result add(QuestionCheckRequestVO questionCheckRequestVO);

    Result questionIsDeleted(long userId, long questionId, int isDeleted);

    Result wrongQuestionCount(QuestionCheckRequestVO questionCheckRequestVO);

    Result checkChoose(QuestionCheckRequestVO questionCheckRequestVO);

    Result findAllGrade();

    Result findAllSubject();

    Result<QuestionEntity> findOneWrong(QuestionWrongVO questionWrongVO);
}
